The Dreamweaver JavaScript API > History functions > dom.redo()

 

dreamweaver.getRedoText()

Availability

Dreamweaver 3.0

Description

Gets the text associated with the editing operation that will be redone if the user chooses Edit > Redo or presses Ctrl+Y (Windows) or Command+Y (Macintosh).

Arguments

None.

Returns

A string containing the text associated with the editing operation that will be redone.

Enabler

None.

Example

If the user's last action was to make the selection bold, a call to dw.getRedoText() would return "Repeat Apply Bold".